# Contributor: prspkt <prspkt@protonmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-orderedmultidict
_pkgname=orderedmultidict
pkgver=1.0.1
pkgrel=5
pkgdesc="Ordered Multivalue Dictionary"
url="https://github.com/gruns/orderedmultidict"
arch="noarch"
license="Unlicense"
depends="py3-six"
makedepends="py3-setuptools"
checkdepends="py3-pycodestyle py3-flake8"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/"$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="5a826bb46dfe9d7e6e2159bf545612a35dd0f1bb5817c1fd78e0f3f4019f9144b36be94af08f87e881a310f593091df09702d001624c377f559a30f64b219c24  orderedmultidict-1.0.1.tar.gz"
